package com.gzc.pm.dao
{
	import com.gzc.pm.net.MyRoFactory;
	
	import mx.collections.ArrayCollection;

	public class CplAxleDao
	{
		public function CplAxleDao()
		{
		}
		
		public function getAll(resultHandler:Function):void{
			MyRoFactory.getInstance().callFunction('cplAxleRo', resultHandler, '加载车轴', 'getAll');
		}
		
		public function addAxle(name:String, lines:ArrayCollection, resultHandler:Function):void{
			MyRoFactory.getInstance().callFunction('cplAxleRo', resultHandler, '添加车轴', 'addAxle', name, lines);
		}
		
		public function delAxle(axleId:int, resultHandler:Function):void{
			MyRoFactory.getInstance().callFunction('cplAxleRo', resultHandler, '删除车轴', 'delAxle', axleId);
		}
		
	}
}